<{include file="header.html"}>
<script src="js/jquery-1.5.2.min.js"  language="javascript" ></script>
<script src="lib/uploadify/swfobject.js"  language="javascript" ></script>
<script src="lib/uploadify/jquery.uploadify.v2.1.4.min.js"  language="javascript" ></script>
<link href="lib/uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<style>
<!--
input{width:500px;}
-->
</style>
<script language="javascript">


function submitForm(form)
{
	
	if(form['name_en'].value == '')
	{
		alert("请输入英文名称");
		form['name'].focus();
		return false;
	}
	
	/*
	if(form['ajaxf_images_value'].value == '')
	{
		alert("請選擇圖档");
		return false;
	}
	*/
	return true;
}
</script>
<div class="formpanel">
<form action="<{spUrl c=$controller a=edit}>" method="post"  name="form1" style="width:600px;" onsubmit="return submitForm(this);">

	<input type="hidden" name="uuid" value="<{$menu_data['uuid']}>"/>
	<label>英文名称：</label>
	<input name="name_en" value="<{$menu_data['name_en']}>"/>
	<label>中文名称：</label>
	<input name="name_cn" value="<{$menu_data['name_cn']}>"/>
	
	<label>排序：</label>
	<input name="sort" value="<{$menu_data['order']}>"/>
	<label>是否显示：</label>
	<select name="active">
			<option value="Y">显示</option>
			<option value="N" <{if $menu_data['active'] != 'Y'}>selected="selected"<{/if}>>不显示</option>
		</select>
	<label></label>
	<{if $menu_data['uuid']}>
	<input type="submit" value="更新"/>
	<{else}>
	<input type="submit" value="新增"/>
	<{/if}>
	
	&nbsp;&nbsp;
	<input type="button" class="submit" value="返回列表" onclick="document.location='<{spUrl c=$controller a=index}>';return false;"/>

</form>
</div>
<{include file="footer.html"}>